package com.newly.common.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.newly.common.base.entity.device.dto.DeviceDto;
import com.newly.common.base.entity.device.po.DevicePo;
import com.newly.common.base.entity.device.vo.DeviceMonitorVo;
import org.apache.ibatis.annotations.Param;

public interface DeviceMapper extends BaseMapper<DevicePo> {

    /**
     * 分页查询站点记录
     * @param deviceDto
     * @return
     */
    Page<DeviceMonitorVo> getSitePage(Page<DeviceMonitorVo> page, @Param("deviceDto")DeviceDto deviceDto);
}